#pragma once

#include "NumberValidator.h"
#include "korlapadmin_model.h"

class UniqueFileNumberValidator :
	public NumberValidator
{
public:
	int validate(QString& input);
	void setModel(korlapAdmin_model* model);
	int getState();
	UniqueFileNumberValidator(const QString& field,int min, int max);
	~UniqueFileNumberValidator(void);
private:
	korlapAdmin_model* model;
	int state;
};
